/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2021-2021. All rights reserved.
 */

package com.baidu.process.cloud.apigateway.sdk.utils;

public class UnknownHttpMethodException extends RuntimeException {
    private static final long serialVersionUID = 4L;

    private String retCd; // 异常对应的返回码
    private String msgDes; // 异常对应的描述信息

    public UnknownHttpMethodException() {
        super();
    }

    public UnknownHttpMethodException(String message) {
        super(message);
        msgDes = message;
    }

    public UnknownHttpMethodException(String retCd, String msgDes) {
        super();
        this.retCd = retCd;
        this.msgDes = msgDes;
    }

    public String getRetCd() {
        return retCd;
    }

    public String getMsgDes() {
        return msgDes;
    }
}
